﻿<phone:PhoneApplicationPage 
    x:Class="SLRTHackathon.Views.Welcome"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:controls="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="800"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait"  Orientation="Portrait"
    shell:SystemTray.IsVisible="False" xmlns:my="clr-namespace:Microsoft.Advertising.Mobile.UI;assembly=Microsoft.Advertising.Mobile.UI">

    <!--LayoutRoot contains the root grid where all other page content is placed-->
    <Grid x:Name="LayoutRoot">
        <controls:Panorama Title="Car Helper">

            <!--Panorama item one-->
            <controls:PanoramaItem Header="Welcome">
                <Grid>
                    <StackPanel Orientation="Vertical">
                        <TextBlock Text="Select a car... "/>
                        <StackPanel Orientation="Vertical">
                            <Button Content="Car1"/>
                            <Button Content="Car2"/>
                        </StackPanel>
                        <TextBlock Text="...add a new one... "/>
                        <Button Content="Add New Car" />
                        <TextBlock Text="...or go to "/>
                        <Button Content="Car Dock" />
                    </StackPanel>
                </Grid>
            </controls:PanoramaItem>

            <!--Panorama item two-->
            <controls:PanoramaItem Header="Car Dock">          
                <Grid>
                   <Grid.ColumnDefinitions>
                        <ColumnDefinition />
                        <ColumnDefinition />
                    </Grid.ColumnDefinitions>
                    <Grid.RowDefinitions>
                        <RowDefinition/>
                        <RowDefinition/>
                        <RowDefinition/>
                    </Grid.RowDefinitions>

                    <Button Grid.Column="0" Grid.Row="0" Name="MusicBtn" Content="Music" />
                    <Button Grid.Column="1" Grid.Row="0" Name="LocationBtn" Content="Location" />
                    <Button Grid.Column="0" Grid.Row="1" Name="CallBtn" Content="Call" />
                    <Button Grid.Column="1" Grid.Row="1" Name="VoiceSearchBtn" Content="Voice Search" />
                    <Button Grid.Column="0" Grid.Row="2"/>
                    <Button Grid.Column="1" Grid.Row="2" Name="BackBtn" Content="Back" />
                </Grid>
            </controls:PanoramaItem>

            <!--Panorama item three-->
            <controls:PanoramaItem Header="Add Item">
                <Grid>
                    <TextBlock Text="Aici merge cu drag and drop de la view model pentru crearea unui car - haha car ca şi căruţă " TextWrapping="Wrap"/>
                </Grid>
            </controls:PanoramaItem>
        </controls:Panorama>
    </Grid>

    <!--Panorama-based applications should not show an ApplicationBar-->

</phone:PhoneApplicationPage>